#!/bin/bash
max=1000
cnt=0
while [[ $cnt -lt $max ]];
    do echo $cnt;
    ((cnt++));
done;
